<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Upload File</title>
    <link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.slim.min.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/popper.js/2.5.4/umd/popper.min.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/4.5.2/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container mt-5" id="upload-main">
    <div class="row">
        <div class="col-md-6" id="upload-image">
            <h1>Upload Image</h1>
            <form method="post" action="/images/upload" enctype="multipart/form-data" class="mb-3">
                <div class="form-group">
                    <input type="file" name="file" accept="image/*" class="form-control-file">
                </div>
                <button type="submit" class="btn btn-primary">Upload</button>
            </form>
            <p><a href="/images/" class="btn btn-link">View Uploaded Images</a></p>
        </div>
        <div class="col-md-6" id="upload-pdf">
            <h1>Upload PDF</h1>
            <form method="post" action="/pdf/upload" enctype="multipart/form-data" class="mb-3">
                <div class="form-group">
                    <input type="file" name="file" accept="application/pdf" class="form-control-file">
                </div>
                <button type="submit" class="btn btn-primary">Upload</button>
            </form>
            <p><a href="/pdf/" class="btn btn-link">View Uploaded PDFs</a></p>
        </div>
    </div>
</div>
</body>
</html>